﻿using System;
using System.Runtime.Serialization;

namespace VNet.VisiSuite.Service.Contact.Message.Item
{
    [DataContract(Namespace = VisiSuiteNamespace.Uri + "dto/ProductItem")]
    public class ProductItem
    {
        [DataMember(IsRequired = true)]
        public int ProductId { get; set; }

        [DataMember(IsRequired = true)]
        public string Sku { get; set; }

        [DataMember(IsRequired = true)]
        public string Description { get; set; }

        [DataMember(IsRequired = true)]
        public string Revision { get; set; }

        [DataMember(IsRequired = true)]
        public bool Enabled { get; set; }

        [DataMember(IsRequired = true)]
        public string CreatedByUser { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime CreatedDate { get; set; }

        [DataMember(IsRequired = true)]
        public string LastUpdatedByUser { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime LastUpdatedDate { get; set; }

        [DataMember(IsRequired = true)]
        public byte[] TimeStamp { get; set; }
    }
}
